'use strict';
exports = module.exports = function ($scope, modalPlus){
    var me = modalPlus.util($scope) //取出弹框常用方法 里面有关闭 取父类  一些判断
    var $scope_father = me.$scope_father //取父类
    $scope.try1 = "222" //内部变量
    $scope.try2 = function () {
        $scope.try1 += "2" //改变内部 但要知道 下次打开就没有缓存了
        $scope_father.try1 += "1" //改变父类变量
        setTimeout( function(){
            $scope.try1 += "3"
            $scope_father.try1 += "3"
        }, 5e3 )
    };
    $scope.ok = function () { me.close() };
    $scope.cancel = function () { me.close() };
}
